package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.Template;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.template.TemplateAddReqDTO;
import com.yixin.hospital.entity.vo.ListTemplateVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【template(科室模板表)】的数据库操作Service
* @createDate 2024-04-25 15:41:24
*/
public interface TemplateService extends IService<Template> {

    ApiResult<List<ListTemplateVO>> allList(Long jobOfficeId);

    ApiResult<?> add(TemplateAddReqDTO templateAddReqDTO, String userName);
}
